<?php

namespace common\logics\stats;

use Yii;


/**
 * 概况统计面板
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class OverviewStatsModel extends \common\base\Model {

    use TimefilterTrait;

    /**
     * {@inheritdoc}
     */
    public function search() {
        if (!$this->validate()) {
            return $this->dumpError();
        }
        return $this;
    }

    /**
     * @inheritdoc
     */
    public function fields() {
        return [
            'timeInterval'
        ];
    }

}
